/*
 * Copyright 2008 Jens Meiss
 * 
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License. 
 * You may obtain a copy of the License at 
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */
package com.googlecode.hmvc4gwt.example.hmvcblog.frontend.blog.client.blog.blogentry.comment;

import com.google.gwt.user.client.ui.Button;
import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.Panel;
import com.google.gwt.user.client.ui.TextArea;
import com.google.gwt.user.client.ui.TextBox;
import com.google.gwt.user.client.ui.Tree;
import com.google.gwt.user.client.ui.TreeItem;
import com.google.gwt.user.client.ui.Widget;
import com.googlecode.hmvc4gwt.client.view.AViewGwt;

/**
 * 
 * @author jens.meiss
 */
public class BlogEntryCommentView extends AViewGwt {
	
	private Label labelCountComments;
	
	private Tree treeBlogEntryComment;

	private Label labelCommentBy;

	private Label labelCommentAuthor;

	private Label labelCommentText;

	private Label labelCommentDate;

	private Label labelCommentDateOfComment;
	
	private Button buttonAddComment;
	
	private Panel panelParent;
	
	private TreeItem treeItemComment;

	private TextBox textBoxCommentAuthorName;
	
	private TextArea textAreaComment;

	/**
	 * @return the buttonAddComment
	 */
	public Button getButtonAddComment() {
		return buttonAddComment;
	}

	/**
	 * @return the labelCommentAuthor
	 */
	public Label getLabelCommentAuthor() {
		return labelCommentAuthor;
	}

	/**
	 * @return the labelCommentBy
	 */
	public Label getLabelCommentBy() {
		return labelCommentBy;
	}

	/**
	 * @return the labelCommentDate
	 */
	public Label getLabelCommentDate() {
		return labelCommentDate;
	}
	
	/**
	 * @return the labelCommentDateOfComment
	 */
	public Label getLabelCommentDateOfComment() {
		return labelCommentDateOfComment;
	}

	/**
	 * @return the labelCommentText
	 */
	public Label getLabelCommentText() {
		return labelCommentText;
	}

	/**
	 * @return the labelCountComments
	 */
	public Label getLabelCountComments() {
		return labelCountComments;
	}

	/**
	 * @return the panelParent
	 */
	public Panel getPanelParent() {
		return panelParent;
	}

	/**
	 * @return the textAreaComment
	 */
	public TextArea getTextAreaComment() {
		return textAreaComment;
	}

	/**
	 * @return the textBoxCommentAuthorName
	 */
	public TextBox getTextBoxCommentAuthorName() {
		return textBoxCommentAuthorName;
	}

	/**
	 * @return the treeBlogEntryComment
	 */
	public Tree getTreeBlogEntryComment() {
		return treeBlogEntryComment;
	}

	/**
	 * @return the treeItemComment
	 */
	public TreeItem getTreeItemComment() {
		return treeItemComment;
	}
	
	public Widget getWidget() {
		return getTreeBlogEntryComment();
	}
	
	/**
	 * @param buttonAddComment the buttonAddComment to set
	 */
	public void setButtonAddComment(Button buttonAddComment) {
		this.buttonAddComment = buttonAddComment;
	}
	
	/**
	 * @param labelCommentAuthor the labelCommentAuthor to set
	 */
	public void setLabelCommentAuthor(Label labelCommentAuthor) {
		this.labelCommentAuthor = labelCommentAuthor;
	}
	
	/**
	 * @param labelCommentBy the labelCommentBy to set
	 */
	public void setLabelCommentBy(Label labelCommentBy) {
		this.labelCommentBy = labelCommentBy;
	}
	
	/**
	 * @param labelCommentDate the labelCommentDate to set
	 */
	public void setLabelCommentDate(Label labelCommentDate) {
		this.labelCommentDate = labelCommentDate;
	}

	/**
	 * @param labelCommentDateOfComment the labelCommentDateOfComment to set
	 */
	public void setLabelCommentDateOfComment(Label labelCommentDateOfComment) {
		this.labelCommentDateOfComment = labelCommentDateOfComment;
	}

	/**
	 * @param labelCommentText the labelCommentText to set
	 */
	public void setLabelCommentText(Label labelCommentText) {
		this.labelCommentText = labelCommentText;
	}

	/**
	 * @param labelCountComments the labelCountComments to set
	 */
	public void setLabelCountComments(Label labelCountComments) {
		this.labelCountComments = labelCountComments;
	}

	/**
	 * @param panelParent the panelParent to set
	 */
	public void setPanelParent(Panel panelParent) {
		this.panelParent = panelParent;
	}

	/**
	 * @param textAreaComment the textAreaComment to set
	 */
	public void setTextAreaComment(TextArea textAreaComment) {
		this.textAreaComment = textAreaComment;
	}

	/**
	 * @param textBoxCommentAuthorName the textBoxCommentAuthorName to set
	 */
	public void setTextBoxCommentAuthorName(TextBox textBoxCommentAuthorName) {
		this.textBoxCommentAuthorName = textBoxCommentAuthorName;
	}

	/**
	 * @param treeBlogEntryComment the treeBlogEntryComment to set
	 */
	public void setTreeBlogEntryComment(Tree treeBlogEntryComment) {
		this.treeBlogEntryComment = treeBlogEntryComment;
	}

	/**
	 * @param treeItemComment the treeItemComment to set
	 */
	public void setTreeItemComment(TreeItem treeItemComment) {
		this.treeItemComment = treeItemComment;
	}

}
